<link rel="stylesheet" href="__ROOT__/Tpl/Public/css/basic.css" />
<div id="header">
    <div class="top">
        <strong>三原县 　<span>{$now} <font style="color:#06f;">{$hello}</font></span></strong>
        <if condition="isset($_COOKIE['user'])">
        <span>欢迎,<b style="color:green;">{$Think.cookie.user}</b> <a href="__ROOT__/member.php">用户中心</a>|<a href="__ROOT__/User/logout">退出</a></span>
        <else/>
        <span><a href="{:U('/User/reg')}">注册</a> | <a href="{:U('/User/login')}">登陆</a></span>
        </if>
    </div>
    <div class="body">
        <div class="logo"><a href="__ROOT__"><img src="__ROOT__/Tpl/Public/images/logo.gif" alt="网站logo"/></a></div>
        <div class="search">
            <form method="get" action="__ROOT__/Search/index/" class="search">
                <ul>
                    <li class="first"><span>信息</span><img src="__ROOT__/Tpl/Public/images/arrow.png" /></li>
                    <li class="show"><a href="#" title="1">信息</a></li>
                    <li class="show"><a href="#" title="2">新闻</a></li>
                </ul>
                <input type="hidden" name="type" id="type" value="1"/><input type="text" name="keyword" class="stext" value="{$Think.get.keyword}" /> <input type="submit" value="搜索" class="sub" />
            </form>
        </div>
        <div class="toppost">
            <a href="{:U('/Post/index')}" style="color:orange;">免费发布信息</a>
            <a href="__ROOT__/member.php/Index/myInfo" style="color:#666;" class="u">修改删除信息</a>
        </div>
    </div>
</div>
<div id="category">
    <ul>
        <li><a href="__ROOT__">首页</a></li>
        <li><a href="{:U('/News')}">新闻资讯</a></li>
        <volist name="teninfonav" id="value">
            <li><a href="{:U('/Category/index','id='.$value['id'])}">{$value.name}</a></li>
        </volist>
        <li><a href="{:U('/About')}">关于本站</a></li>
    </ul>
</div>
